<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
	</head>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:500px;">
			<div id="div_search" data-options="region:'north'" style="height:80px;">

			</div>
			<div data-options="region:'center'">
				<div class="easyui-tabs" id="div_tabs" style="width: 100%; height: 400px;">
					<div title="采购单信息" style="overflow:hidden">
						<iframe id="ifrmList" src="WareHouseScheduleList.html" style="width: 100%;height: 435px;" frameborder="0" scrolling="no"></iframe>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
	<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../../JS/common.js"></script>
	<script type="text/javascript" src="../../../JS/LogisticsShareFunction/SearchShareFunction.js"></script>
	<script type="text/javascript">
		var searchType = SEARCH_STATE + SEARCH_PURCHASE_MAN+SEARCH_STOREHOUSE_ID+SEARCH_ORDER_NO;
		searchType+=SEARCH_PURCHASE_DATE_START+SEARCH_PURCHASE_DATE_END;
		var content = buildSearchOptions(searchType, "");
		$("#div_search").append(content);

		function doSearch() {
			var searchCondition = processSearchCondition();
			var _url;
			if(searchCondition != "") {
				_url = RemoteLinkAddress + '/logistics/purchaseorder/list.do?' + searchCondition;
			} else {
				_url = RemoteLinkAddress + '/logistics/purchaseorder/list.do?ISVERIFY=1';
			}
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('options').url = _url;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('reload');
		}
		Tabs_Hover();
	</script>

</html>